<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table border=1>
	<tr>
		<th>계좌번호</th>
		<th>예금주</th>
		<th>잔액</th>
	</tr>
	<c:forEach var="account" items="${accounts}">
	<tr>
		<td><c:out value="${account.accountNo}" /></td>
		<td><a href="<c:url value="/account/detail?accountNo=${account.accountNo}" />"><c:out value="${account.owner}" /></a></td>
		<td><c:out value="${account.balance}" /></td>
	</tr>
	</c:forEach>
</table>
</body>
</body>
</html>